package com.photographysharing.service;

import com.photographysharing.dto.PhotoDTO;
import com.photographysharing.entity.Photos;
import com.baomidou.mybatisplus.extension.service.IService;
import com.photographysharing.request.SelectByPaging;
import com.photographysharing.response.DataResponse;
import com.photographysharing.response.DatasResponse;

/**
* @author Z
* @description 针对表【photos】的数据库操作Service
* @createDate 2024-05-14 21:15:11
*/
public interface PhotosService extends IService<Photos> {



    DatasResponse<PhotoDTO> select(SelectByPaging pag);
    PhotoDTO getById(String photoId);

    DatasResponse<PhotoDTO> selectByUserId(SelectByPaging pag);

    DatasResponse<PhotoDTO> selectByPag(SelectByPaging pag);
}
